package se.hrbustrc.hlgshopping.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import se.hrbustrc.hlgshopping.entity.Prosku;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

@Mapper
public interface ProskuMapper extends BaseMapper<Prosku> {
    @Select("SELECT * FROM tb_prosku WHERE fPID = #{fpId}")
    List<Prosku> selectSkuByProductId(@Param("fpId") int fpId);

}




